import java.util.Date;
import java.util.List;
import java.util.Map;

public class Main {

    public static void main(String[] args){
        Long start_time = new Date().getTime()/1000;
        String root_path = "/home/wanglinhui/code/WorkSpace_CODE/WorkSpace_Python/2LSTM/data/bugs_eclipse/";
        String bugs_file = root_path + "bug_msg_all";
        String output_file = root_path + "active_sequence_java.txt";
        String assignees_path = root_path + "active_list/";
        Map<String, List<String>> bug_msg_all = null;
        try{
            bug_msg_all = DataProcessing.getMsgAll(bugs_file);
//            DataProcessing.traverseAllBugs(bug_msg_all, output_file);
            DataProcessing.getDeveloperActiveSequence("153716", bug_msg_all, assignees_path);
        }catch (Exception e){
            e.printStackTrace();
        }
        Long end_time = new Date().getTime()/1000;
        System.out.println("耗费时间为: " + (end_time - start_time));
//        for(Map.Entry<String, List<String>> entry: bug_msg_all.entrySet()){
//            System.out.println(entry.getKey() + "\t" + entry.getValue());
//
//        }


    }

}
